import {BaseEntity,Column,Entity,Index,JoinColumn,JoinTable,ManyToMany,ManyToOne,OneToMany,OneToOne,PrimaryColumn,PrimaryGeneratedColumn,RelationId} from "typeorm";


@Entity("fa_cms_addonnews",{schema:"fastadmin" } )
export class fa_cms_addonnews {

    @Column("int",{ 
        nullable:false,
        primary:true,
        name:"id"
        })
    id:number;
        

    @Column("longtext",{ 
        nullable:false,
        name:"content"
        })
    content:string;
        

    @Column("varchar",{ 
        nullable:true,
        length:50,
        name:"author"
        })
    author:string | null;
        

    @Column("decimal",{ 
        nullable:true,
        default: () => "'0.00'",
        scale:2,
        name:"price"
        })
    price:string | null;
        
}
